import { View } from "../../../../mvc/core/View";
import { IToolTipItem } from "../../../../../com/mui/manager/IToolTipItem";
import { ObjCreate } from "../../common/ObjCreate";
import { ResFileConst } from "../../../resource/ResFileConst";
import { ToolTipsManager } from "../../../../../com/mui/manager/ToolTipsManager";
import { GLoadedButton } from "../../../../../com/mui/controls/GLoadedButton";
//class FashionBoxFlyTargetBtn
    
    export  class FashionBoxFlyTargetBtn extends View implements IToolTipItem
    {
        constructor()
        {
            super();
            this.initView();
            this.buttonMode = true;
            this.useHandCursor = true;
            return;
        }

        /* internal  */initView(): void
        {
            this._btn = ObjCreate.createGLoadedButton(ResFileConst.FlyWingTargetBtn, 0, 0, 40, 34, this);
            return;
        }

        public get toolTipData()
        {
            return this._toolTipData;
        }

        public set toolTipData(arg1)
        {
            if (arg1 == null || arg1 == "") 
            {
                ToolTipsManager.unregister(this);
            }
            else 
            {
                ToolTipsManager.register(this);
            }
            this._toolTipData = arg1;
            return;
        }

        /* internal */ /* var */_btn: GLoadedButton;

        protected /* var */_toolTipData;
    }
